/** 
Copyright (c) 2010, Sheikh Abdul Wahid Ahmed
Details @ http://extremecodeworld.codeplex.com/license
**/

using System;
using EXtremecode.Utils.ThirdParties;

namespace EXtremecode.Utils
{
	/// <summary>
	/// Summary description for MainClass.
	/// </summary>
	public class MainClass
	{
		public MainClass()
		{
			//
			// TODO: Add constructor logic here
			//

			
		}

		static void Main() 
		{
			string strString = Console.ReadLine();
			string encrypted = DataEncryptor.Instance.GetEncryptedString(strString);

			Console.WriteLine("encrypted text:  {0}",encrypted);
			Console.WriteLine("decrypted text:  {0}",DataEncryptor.Instance.GetDecryptedString(encrypted));

			Console.WriteLine("encrypted text:  {0}",EncDec.Encrypt(strString,"SheikhAbdulWahid"));
			Console.WriteLine("decrypted text:  {0}",EncDec.Decrypt(encrypted,"SheikhAbdulWahid"));

			Console.Read();
		}
	}
}
